package com.yidu.sanrenxing.crudall.dao;

import com.yidu.sanrenxing.crudall.domain.Orders;

import java.util.List;

public interface OrdersMapper {
    List<Orders> selectAll();

    int deleteByPrimaryKey(int orderid);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(int orderid);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);

    public List<Orders> getOrderDataByUserId(Integer userId);

    Integer addOrderMsg(Orders orders);

    Integer updateOrderStatusByOrderId(String orderId);

    Integer updateOrderStatusForCanCel(String orderId);
}